#ifndef DBCONFIG_WINDOW_H
#define DBCONFIG_WINDOW_H

#include <QWidget>
#include <QtXml/QDomDocument>
#include <QMessageBox>
#include "ui_dbconfig_window.h"
#include "nr_util.h"

class dbconfig_window : public QWidget
{
    Q_OBJECT

public:
    dbconfig_window(QWidget *parent = 0);
    ~dbconfig_window();

    nr_error_t initialize_from_xml();
    nr_error_t save_as_xml();

    private slots:
        void on_Save_pushButton();
        void on_Cancel_pushButton();

private:
    Ui::dbconfig_window ui;
};

#endif // DBCONFIG_WINDOW_H
